<template>
    <div>
        <h1>我是demo组件</h1>
    </div>
</template>

<script>
export default {
    created(){
        console.log("demo组件创建处理了");
    },
    beforeDestroy(){
        console.log("deom组件销毁了");
    }
}
</script>

<style>

</style>